package bridge.shape;

import bridge.color.Color;

/**
 * 抽象类：形状，内部持有 color.Color 引用
 * @author Liu Yicong
 * @date 2025/9/23
 */
public abstract class Shape {
	protected Color color; // 桥接的关键：持有实现者的引用

	public Shape(Color color) {
		this.color = color;
	}

	public abstract void draw();
}
